package com.future.singleton;

/**
 * 最完美之一
 */
public class PerfectSingleton {

    private PerfectSingleton() {

    }

    private static class SingleTonHolder {
        private static final PerfectSingleton INSTANCE = new PerfectSingleton();
    }

    public static PerfectSingleton getInstance() {
        return SingleTonHolder.INSTANCE;
    }
}
